import ModHome from "./views/home";
import ModProposal from "./views/proposal";
import ModMaintain from "./views/maintain";
import ModRevisepProposal from "./views/revisepProposal";
import ModRevisepProposalInfo from "./views/revisepProposalInfo";
/*const ModHome = resolve => require(['./views/home'],resolve);
const ModProposal = resolve => require(['./views/proposal'],resolve);
const ModMaintain = resolve => require(['./views/maintain'],resolve);
const ModRevisepProposal = resolve => require(['./views/revisepProposal'],resolve);
const ModRevisepProposalInfo = resolve => require(['./views/revisepProposalInfo'],resolve);*/

export default {
    routes: [
        // {"path": '*', "redirect": '/'},
        {"path": "/", "component": ModHome},
        {"path": "/index", "component": ModHome},
        {"path": "/proposal", "component": ModProposal},
        {"path": "/maintain", "component": ModMaintain},
        {"path": "/revisepProposal", "component": ModRevisepProposal},
        {"path": "/revisepProposalInfo", "component": ModRevisepProposalInfo},
    ]
}